﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class user
    {
        private string  username;
        private int number;
        private int password;
        public string Username
        {
            get { return this.username; }
            set { this.username = value; }
        } 
        public int Number
        {
            get { return this.number; }
            set { this.number = value; }
        }
        public int Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public void User1()
        {
            Console.WriteLine("你的用户名{0}"+this.Username);
            Console.WriteLine("你的账号{1}" + this.Number);
            Console.WriteLine("你的密码{2}" + this.Password);
        }
    }
}
